package org.zfes.snowier.cloud.zbss.cms.topic.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class CmsTopicModel extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public CmsTopicModel() {}
	public CmsTopicModel(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 
	
	  private java.lang.Long topicId;
 
	@javax.validation.constraints.NotNull(message="字段不能为空")
	 @org.hibernate.validator.constraints.Length(min=0,max=50,message="字段长度不能大于50")
	  private java.lang.String field;
 
	@javax.validation.constraints.NotNull(message="名称不能为空")
	@javax.validation.constraints.NotBlank(message="名称不能为空")
	 @org.hibernate.validator.constraints.Length(min=0,max=100,message="名称长度不能大于100")
	  private java.lang.String label;
 
	@javax.validation.constraints.NotNull(message="排列顺序不能为空")
	  private java.lang.Integer sortNum;
 
	 @org.hibernate.validator.constraints.Length(min=0,max=100,message="上传路径长度不能大于100")
	  private java.lang.String uploadPath;
 
	 @org.hibernate.validator.constraints.Length(min=0,max=20,message="长度长度不能大于20")
	  private java.lang.String textSize;
 
	 @org.hibernate.validator.constraints.Length(min=0,max=3,message="文本行数长度不能大于3")
	  private java.lang.String areaRows;
 
	 @org.hibernate.validator.constraints.Length(min=0,max=3,message="文本列数长度不能大于3")
	  private java.lang.String areaCols;
 
	 @org.hibernate.validator.constraints.Length(min=0,max=255,message="帮助信息长度不能大于255")
	  private java.lang.String help;
 
	 @org.hibernate.validator.constraints.Length(min=0,max=1,message="帮助位置长度不能大于1")
	  private java.lang.String helpPosition;
 
	
	  private java.lang.Integer dataType;
 
	
	  private java.lang.Byte isSingle;
 
	@javax.validation.constraints.NotNull(message="状态:不能为空")
	  private java.lang.Byte status;
 
	@javax.validation.constraints.NotNull(message="更新时间不能为空")
	  private java.util.Date updateTime;
 
	@javax.validation.constraints.NotNull(message="创建时间不能为空")
	  private java.util.Date createTime;
 
	
	//<-------------------------------------------->
	public CmsTopicModel setTopicId(java.lang.Long topicId){
	 this.topicId=topicId;
	 return this;
	}
	public java.lang.Long getTopicId(){
		return this.topicId;
	}
	public CmsTopicModel setField(java.lang.String field){
		this.field=field==null?null:field.trim();
	 return this;
	}
	public java.lang.String getField(){
		return this.field;
	}
	public CmsTopicModel setLabel(java.lang.String label){
		this.label=label==null?null:label.trim();
	 return this;
	}
	public java.lang.String getLabel(){
		return this.label;
	}
	public CmsTopicModel setSortNum(java.lang.Integer sortNum){
	 this.sortNum=sortNum;
	 return this;
	}
	public java.lang.Integer getSortNum(){
		return this.sortNum;
	}
	public CmsTopicModel setUploadPath(java.lang.String uploadPath){
		this.uploadPath=uploadPath==null?null:uploadPath.trim();
	 return this;
	}
	public java.lang.String getUploadPath(){
		return this.uploadPath;
	}
	public CmsTopicModel setTextSize(java.lang.String textSize){
		this.textSize=textSize==null?null:textSize.trim();
	 return this;
	}
	public java.lang.String getTextSize(){
		return this.textSize;
	}
	public CmsTopicModel setAreaRows(java.lang.String areaRows){
		this.areaRows=areaRows==null?null:areaRows.trim();
	 return this;
	}
	public java.lang.String getAreaRows(){
		return this.areaRows;
	}
	public CmsTopicModel setAreaCols(java.lang.String areaCols){
		this.areaCols=areaCols==null?null:areaCols.trim();
	 return this;
	}
	public java.lang.String getAreaCols(){
		return this.areaCols;
	}
	public CmsTopicModel setHelp(java.lang.String help){
		this.help=help==null?null:help.trim();
	 return this;
	}
	public java.lang.String getHelp(){
		return this.help;
	}
	public CmsTopicModel setHelpPosition(java.lang.String helpPosition){
		this.helpPosition=helpPosition==null?null:helpPosition.trim();
	 return this;
	}
	public java.lang.String getHelpPosition(){
		return this.helpPosition;
	}
	public CmsTopicModel setDataType(java.lang.Integer dataType){
	 this.dataType=dataType;
	 return this;
	}
	public java.lang.Integer getDataType(){
		return this.dataType;
	}
	public CmsTopicModel setIsSingle(java.lang.Byte isSingle){
	 this.isSingle=isSingle;
	 return this;
	}
	public java.lang.Byte getIsSingle(){
		return this.isSingle;
	}
	public CmsTopicModel setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public CmsTopicModel setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}
	public CmsTopicModel setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}

}
